import { and, isNil } from 'ramda'
import isNotEmpty from './isNotEmpty'

export default (value: any) => and(isNotEmpty(value), !isNil(value))
